﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace TCS.Web.Admin.MemberManage
{
    public partial class show : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
                {
                    string id = Request.Params["id"];
                    ShowInfo(int.Parse(id));
                }
            }
        }

        private void ShowInfo(int MemberID)
        {
            TCS.BLL.MemberInfo bll = new TCS.BLL.MemberInfo();
            TCS.Model.MemberInfo model = bll.GetModel(MemberID);
            //this.lblCodeName.Text = model.CodeName;
            //this.lblPassword.Text = model.Password;
            //this.lblEnName.Text = model.EnName;
            //this.lblCreateTime.Text = model.CreateTime;
            //this.lblAddTime.Text = model.Addid.ToString();
            //this.lblBisAddr.Text = model.BisAddr;
            //this.lblBisPost.Text = model.BisPost;
            //this.lblWarehouseAddr.Text = model.WarehouseAddr;
            //this.lblWarehousePost.Text = model.WarehousePost;
            //this.lblLegalName.Text = model.LegalName;
            //this.lblLegalTel.Text = model.LegalTel;
            //this.lblLegalAddr.Text = model.LegalAddr;
            //this.lblLegalPost.Text = model.LegalPost;
            //this.lblMgrName.Text = model.MgrName;
            //this.lblMgrTel.Text = model.MgrTel;
            //this.lblMgrEmail.Text = model.MgrEmail;
            //this.lblContactName.Text = model.TrueName;
            //this.lblContactTel.Text = model.ContactTel;
            //this.lblContactEmail.Text = model.Email;
            //this.lblIsDelete.Text = model.Isdelete == null || model.Isdelete.ToString() == "0" ? "<font color=green>正常</a>" : "<font color=red>已注销</a>" ;
            //this.lblAddTime.Text = model.AddTime;
            //this.lblLastLoginTime.Text = model.LastLoginTime;
            //this.lblAboutUs.Text = model.QQ;
            //this.lblOrgStructure.Text = model.Image;

        }


    }
}
